package com.tchhy.provider.data.healthy.response

import java.io.Serializable

/**
 * Created by admin on 2020-09-07
 */
data class DoorCareCreateOrderRes(
    var createTime: String?=null,
    var createUid: String?=null,
    var mechanism: String?=null,
    var department: String?=null,
    var doctorName: String?=null,
    var mallCheck: MallCheck?=null,
    var money: Long?=null,
    var number: Int?=null,
    var orderNum: String?=null,
    var payChannel: Int?=null,
    var payUid: String?=null,
    var projectName: String?=null,
    var type: Int?=null,
    var orderNums: List<String>?=null
) :Serializable{
    data class MallCheck(
        var area: List<Data>?=null,
        var items: List<Items>?=null,
        var price: List<Data>?=null,
        var status: List<Data>?=null,
        var stock: List<Data>?=null
    ):Serializable {
        data class Data(
            var commodityId: String,
            var commodityName: String,
            var commodityType: Int,
            var expireTime: String,
            var freightPrice: String,
            var freightType: Int,
            var headImgUrl: String,
            var inSales: Boolean,
            var isDelete: Int,
            var lockStock: Int,
            var crossPrice: String,
            var number: Int,
            var onffTime: String,
            var providerId: String,
            var providerName: String,
            var salesNum: Int,
            var salesPrice: String,
            var status: Int,
            var stock: Int,
            var subtitle: String,
            var templateName: String,
            var updatePriceTime: String,
            var updateStockTime: String,
            var updateTime: String,
            var userId: String,
            var videoUrl: String,
            var couponCode: List<String>,
            var detailImgUrl: List<String>,
            var introductionImgUrl: List<String>,
            var lockCouponCode: List<String>,
            var properties: List<Properties>
        ):Serializable{
            data class Properties(
                var limit: Int,
                var name: String,
                var type: Int,
                var value: String
            )
        }

        data class Items(
            var freightAmount: String,
            var freightType: Int,
            var providerId: String,
            var providerName: String,
            var status: Int,
            var commodities: List<Data>
        ):Serializable



    }
}